package entities;

public class Judgement implements PlainAddable{

    String id;
    String url;
    String title;
    String date;
    String pubdate;
    String type;

    public Judgement(String id, String url, String title, String date, String pubdate, String type) {
        this.id = id;
        this.url = url;
        this.title = title;
        this.date = date;
        this.pubdate = pubdate;
        this.type = type;
    }

    @Override
    public String toString() {
        return "Judgement{" +
                "id: '" + id + '\'' +
                ", url: '" + url + '\'' +
                ", title: '" + title + '\'' +
                ", date: '" + date + '\'' +
                ", pubdate: '" + pubdate + '\'' +
                ", type: '" + type + '\'' +
                '}';
    }
}
